package com.jiyongjun.component.exception;

/**
 * <h2>服务异常</h2>
 * <h3>描述：由于服务本身存在问题而导致的异常，非请求方存在问题。</h3>
 *
 * @author yongjun.jyj
 * @since 2022/6/13 15:17
 */
public class ServiceException extends AbstractRuntimeException{
    public ServiceException(String msgInfo) {
        super(msgInfo);
    }

    public ServiceException(String msgCode, String msgInfo) {
        super(msgCode, msgInfo);
    }

    public ServiceException(String msgCode, String msgInfo, Object payload) {
        super(msgCode, msgInfo, payload);
    }

    public ServiceException(String msgCode, String msgInfo, Throwable cause) {
        super(msgCode, msgInfo, cause);
    }

    public ServiceException(String msgCode, String msgInfo, Throwable cause, Object payload) {
        super(msgCode, msgInfo, cause, payload);
    }

}
